Data holder for a key event. More...
Public Attributes | |
char | _key = ' ' |
Key pressed translated as a char, if available. | |
KEY_CODE | _code = KEY_UNKNOWN |
Key code. | |
bool | _pressed = false |
If the key is pressed (true) or release (false). | |
bool | _specialKey = false |
If the key is a special key. | |
unsigned int | _repeatCount = 0 |
If auto repeating, the auto repeating count. | |
unsigned int | _scanCode = 0 |
The scane code of the key. | |
bool | _extendedKey = false |
If the key is an extended key. | |
bool | _altPressed = false |
If alt is being pressed at the same time. | |
bool | _wasPressed = false |
If the key was pressed (true) or not (false) before. | |
Data holder for a key event.